$distance-xxl: 35px;
$distance-xl: 25px;
$distance-lg: 20px;
$distance: 15px;
$distance-sm: 10px;
$distance-xs: 5px;

.white-bg {
    background-color: #fff !important;;
}

.flex {
    display: flex;
}

.flex-sub {
    flex: 1;
}

.flex-direction {
    flex-direction: column;
}


.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.self-start {
    align-self: flex-start;
}

.self-center {
    align-self: center;
}

.self-end {
    align-self: flex-end;
}

.self-stretch {
    align-self: stretch;
}

.align-stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.justify-evenly {
    justify-content: space-evenly;
}

.text-price::before {
    content: "¥";
    font-size: 80%;
    margin-right: 2px;
}

.text-cut {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.text-cut2{
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.text-bold {
    font-weight: bold;
}

.text-center {
    text-align: center;
}

.text-content {
    line-height: 1.6;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}


.padding {
    padding: $distance;
}

.padding-top {
    padding-top: $distance;
}

.padding-left {
    padding-left: $distance;
}

.padding-right {
    padding-right: $distance;
}

.padding-bottom {
    padding-bottom: $distance;
}

.padding-tb {
    padding-top: $distance;
    padding-bottom: $distance;
}

.padding-lr {
    padding-left: $distance;
    padding-right: $distance;
}

.margin {
    margin: $distance;
}

.margin-tb {
    margin-top: $distance;
    margin-bottom: $distance;
}

.margin-lr {
    margin-left: $distance;
    margin-right: $distance;
}

.margin-top {
    margin-top: $distance;
}

.margin-right {
    margin-right: $distance;
}

.margin-bottom {
    margin-bottom: $distance;
}

.mb20 {
    margin-bottom: 20px;
}

.margin-left {
    margin-left: $distance;
}

.padding-xs {
    padding: $distance-xs;
}

.padding-top-xs {
    padding-top: $distance-xs;
}

.padding-left-xs {
    padding-left: $distance-xs;
}

.padding-right-xs {
    padding-right: $distance-xs;
}

.padding-bottom-xs {
    padding-bottom: $distance-xs;
}

.padding-tb-xs {
    padding-top: $distance-xs;
    padding-bottom: $distance-xs;
}

.padding-lr-xs {
    padding-left: $distance-xs;
    padding-right: $distance-xs;
}

.margin-xs {
    margin: $distance-xs;
}

.margin-tb-xs {
    margin-top: $distance-xs;
    margin-bottom: $distance-xs;
}

.margin-lr-xs {
    margin-left: $distance-xs;
    margin-right: $distance-xs;
}

.margin-top-xs {
    margin-top: $distance-xs;
}

.margin-right-xs {
    margin-right: $distance-xs;
}

.margin-bottom-xs {
    margin-bottom: $distance-xs;
}

.margin-left-xs {
    margin-left: $distance-xs;
}


.padding-sm {
    padding: $distance-sm;
}

.padding-top-sm {
    padding-top: $distance-sm;
}

.padding-left-sm {
    padding-left: $distance-sm;
}

.padding-right-sm {
    padding-right: $distance-sm;
}

.padding-bottom-sm {
    padding-bottom: $distance-sm;
}

.padding-tb-sm {
    padding-top: $distance-sm;
    padding-bottom: $distance-sm;
}

.padding-lr-sm {
    padding-left: $distance-sm;
    padding-right: $distance-sm;
}

.margin-sm {
    margin: $distance-sm;
}

.margin-tb-sm {
    margin-top: $distance-sm;
    margin-bottom: $distance-sm;
}

.margin-lr-sm {
    margin-left: $distance-sm;
    margin-right: $distance-sm;
}

.margin-top-sm {
    margin-top: $distance-sm;
}

.margin-right-sm {
    margin-right: $distance-sm;
}

.margin-bottom-sm {
    margin-bottom: $distance-sm;
}

.margin-left-sm {
    margin-left: $distance-sm;
}


.padding-lg {
    padding: $distance-lg;
}

.padding-top-lg {
    padding-top: $distance-lg;
}

.padding-left-lg {
    padding-left: $distance-lg;
}

.padding-right-lg {
    padding-right: $distance-lg;
}

.padding-bottom-lg {
    padding-bottom: $distance-lg;
}

.padding-tb-lg {
    padding-top: $distance-lg;
    padding-bottom: $distance-lg;
}

.padding-lr-lg {
    padding-left: $distance-lg;
    padding-right: $distance-lg;
}

.margin-lg {
    margin: $distance-lg;
}

.margin-tb-lg {
    margin-top: $distance-lg;
    margin-bottom: $distance-lg;
}

.margin-lr-lg {
    margin-left: $distance-lg;
    margin-right: $distance-lg;
}

.margin-top-lg {
    margin-top: $distance-lg;
}

.margin-right-lg {
    margin-right: $distance-lg;
}

.margin-bottom-lg {
    margin-bottom: $distance-lg;
}

.margin-left-lg {
    margin-left: $distance-lg;
}


.padding-xl {
    padding: $distance-xl;
}

.padding-top-xl {
    padding-top: $distance-xl;
}

.padding-left-xl {
    padding-left: $distance-xl;
}

.padding-right-xl {
    padding-right: $distance-xl;
}

.padding-bottom-xl {
    padding-bottom: $distance-xl;
}

.padding-tb-xl {
    padding-top: $distance-xl;
    padding-bottom: $distance-xl;
}

.padding-lr-xl {
    padding-left: $distance-xl;
    padding-right: $distance-xl;
}

.margin-xl {
    margin: $distance-xl;
}

.margin-tb-xl {
    margin-top: $distance-xl;
    margin-bottom: $distance-xl;
}

.margin-lr-xl {
    margin-left: $distance-xl;
    margin-right: $distance-xl;
}

.margin-top-xl {
    margin-top: $distance-xl;
}

.margin-right-xl {
    margin-right: $distance-xl;
}

.margin-bottom-xl {
    margin-bottom: $distance-xl;
}

.margin-left-xl {
    margin-left: $distance-xl;
}


/* ==================
          文本
 ==================== */

.text-xs {
    font-size: 10px;
}

.text-sm {
    font-size: 12px;
}

.text-df {
    font-size: 14px;
}

.text-lg {
    font-size: 16px;
}

.text-xl {
    font-size: 18px;
}

.text-xxl {
    font-size: 22px;
}

.text-sl {
    font-size: 40px;
}

.text-xsl {
    font-size: 60px;
}


.text-red,
.line-red,
.lines-red {
    color: #e54d42;
}

.text-orange,
.line-orange,
.lines-orange {
    color: #f37b1d;
}

.text-yellow,
.line-yellow,
.lines-yellow {
    color: #fbbd08;
}

.text-olive,
.line-olive,
.lines-olive {
    color: #8dc63f;
}

.text-green,
.line-green,
.lines-green {
    color: #39b54a;
}

.text-cyan,
.line-cyan,
.lines-cyan {
    color: #1cbbb4;
}

.text-blue,
.line-blue,
.lines-blue {
    color: #0081ff;
}

.text-purple,
.line-purple,
.lines-purple {
    color: #6739b6;
}

.text-mauve,
.line-mauve,
.lines-mauve {
    color: #9c26b0;
}

.text-pink,
.line-pink,
.lines-pink {
    color: #e03997;
}

.text-brown,
.line-brown,
.lines-brown {
    color: #a5673f;
}

.text-grey,
.line-grey,
.lines-grey {
    color: #8799a3;
}

.text-gray,
.line-gray,
.lines-gray {
    color: #aaaaaa;
}

.text-black,
.line-black,
.lines-black {
    color: #333333;
}

.text-white,
.line-white,
.lines-white {
    color: #ffffff;
}


.grid {
    display: flex;
    flex-wrap: wrap;
}
.grid.col-1>div {
    width: 100%;
}

.grid.col-2>div {
    width: 50%;
}

.grid.col-3>div {
    width: 33.33%;
}

.grid.col-4>div {
    width: 25%;
}

.grid.col-5>div {
    width: 20%;
}
.grid.col-5>div {
    width: 20%;
}
.grid.col-6>div {
    width: 16.6666%;
}
.w100 {
    width: 100%;
}
.w-80 {
    width: 80px;
}
.w-100 {
    width: 100px;
}
.w-230 {
    width: 230px;
}
.w-249 {
    width: 249px;
}
.w-220 {
    width: 220px;
}
.w-250 {
    width: 250px;
}
.w-260 {
    width: 260px;
}
.w-270 {
    width: 270px;
}
.w-200 {
    width: 200px;
}
.w-300 {
    width: 300px;
}
.w-400 {
    width: 400px;
}
.w-500 {
    width: 500px;
}
.mt-10 {
    margin-top: 10px;
}
.mb-10 {
    margin-bottom: 10px;
}
.white-space-nowrap {
    white-space: nowrap;
}

.el-tooltip__popper {
    max-width: 80%;
}

.el-button--text {
	user-select: unset;
}

.page {
    &>.el-form {
        .el-input {
            width: 249px;
        }
    }
}
